//
//  ThreeSixtyMap.h
//  Dolphin
//
//  Created by Matthew on 12-1-23.
//  Copyright 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ThreeSixtyMap;

@protocol Three60MapDelegate <NSObject>

- (void) swipeUpWithMapId:(int)mapId;
- (void) swipeDownWithMapId:(int)mapId;

@end


@interface ThreeSixtyMap : UIView 
{
    NSMutableArray *imageList;
    NSMutableArray *imageNameList;
    NSString *fileType;
    int curindex;
    float previous_x;
    float previous_y;
    BOOL isOnMove;
    
    NSTimer *objQueMagTimer;
    
    int mapId;
    int trigger_count;
    id<Three60MapDelegate> _delegate;
   
    int _x;
    int _y;
    int _width;
    int _height;

    BOOL threeLevel;
    BOOL useJudge;
}

@property int curindex;
@property int mapId;
@property BOOL useJudge;
@property (nonatomic, assign) id<Three60MapDelegate> delegate;

-(void) initTheMap:(NSMutableArray*) inArr
                 fileType:(NSString *) inFileType
                        inId:(int) inMapId;

-(void) initTheMap2:(NSMutableArray*) inArr
          fileType:(NSString *) inFileType
              inId:(int) inMapId
              inW:(int) _W
               inH:(int) _H;

-(void) galleryShift:(int) type;
-(void) closeImages;
-(void) showImageAt:(int) index;
-(void) reset;
-(void) objectManageProc;

@end
